<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.3.1.min.js"></script>
<title>Insert title here</title>
<script>
$(document).ready(function(){
	  $("#flip").click(function(){
	    $("#panel").slideToggle("slow");
	  });
	});
$(document).ready(function(){
	  $("#flip1").click(function(){
	    $("#panel1").slideToggle("slow");
	  });
	});
$(document).ready(function(){
	  $("#flip2").click(function(){
	    $("#panel2").slideToggle("slow");
	  });
	});
</script>
<style type="text/css"> 
	#panel,#flip,#panel1,#flip1,#panel2,#flip2{
		padding:5px;
		text-align:left;
		border-radius: 25px; 
	}
	#flip{
		background-color:#6495ED;
		margin-top:60px;
		color: white;
	}
	#flip1,#flip2{
		background-color:#6495ED;
		margin-top:12px;
		color: white;
	}
	#panel,#panel1,#panel2{
		display:none;
		margin-left: 5px;
	}
	li{
		color:gray;
		margin-top: 5px;
	}
	a:hover {
		color: #ff3366;
		text-decoration: underline;
	} 
</style>
</head>
<body>
	<div id="flip">我的信息</div>
	<div id="panel">
		<ul>
			<li><a href="${pageContext.request.contextPath }/ShopQuery?shopId=${sessionScope.shop.shopId}" target="main">店铺信息</a></li>
			<li><a href="${pageContext.request.contextPath }/ShopGoodsQuery?shopId=${sessionScope.shop.shopId}" target="main">我的商品</a></li>
		</ul>
	</div>
	<div id="flip1">商品情况</div>
	<div id="panel1">
		<ul>
			<li><a href="${pageContext.request.contextPath }/GoodsDown?shopId=${sessionScope.shop.shopId}" target="main">商品管理</a></li>
			<li><a href="${pageContext.request.contextPath }/jsp/shop/GoodsAdd.jsp"  target="main">新商品上架</a></li>	
		</ul>
	</div>
	<div id="flip2">商品订单</div>
	<div id="panel2">
		<ul>
			<li><a href="${pageContext.request.contextPath }/jsp/shop/ShopOrder.jsp" target="main">订单查询</a></li>	
		</ul>
	</div>
</body>
</html>